package com.adcc.soundalarm.common;

import org.apache.log4j.Logger;

/**
 * Created by ZHANG on 2017/2/9.
 * LOG 帮助类
 */
public final class Log {
    private static final Logger logger = Logger.getLogger(Log.class);

    public static void info(String log){
        logger.info(log);
    }

    public static void debug(String log){
        logger.debug(log);
    }

    public static void debug(String log,Exception e){
        logger.debug(log, e);
    }

    public static void error(String log){
        logger.error(log);
    }

    public static void error(String log,Exception e){
        logger.error(log,e);
    }
}
